package com.adtec.yxdemo.timedtask;

import com.adtec.yxdemo.mockLogin.service.MockLoginService;
import com.jfinal.aop.Inject;
import io.jboot.components.schedule.annotation.Cron;

@Cron("*/10 7-9 * * * ")
public class LoginTask implements Runnable{
    @Inject
    MockLoginService mockLoginService;
    @Override
    public void run() {
        mockLoginService.mokeLogin();
    }
}
